file chooser: Make Escape close the dialog
authorMatthias Clasen <mclasen@redhat.com>
Sat, 30 Jan 2016 00:12:51 +0000 (19:12 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 Jan 2016 00:12:51 +0000 (19:12 -0500)
commit176e85ffe5d8cb73d9535acc62b4d00568006872
tree15b2be737146575be3c4e8319b9b3289f4f72fe9
parentf887fec55cb42b68473ee9b6f50ab5ebf540a601
file chooser: Make Escape close the dialog

In some situations (no header bar, save mode), hitting Escape
would not do anything because the entry ate the key event.
Fix this by telling the entry to only handle Escape when there
is something to do, such as switching back to the path bar.

https://bugzilla.gnome.org/show_bug.cgi?id=761026
gtk/gtkfilechooserwidget.c